package com.dhu.auth;

import cn.dev33.satoken.SaManager;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;

/**
 * 刷题微服务启动
 * @Author gongjiawei
 * @Date 2024/6/1 13:22
 * @注释
 */

@SpringBootApplication
@ComponentScan("com.dhu")
@MapperScan("com.dhu.**.mapper")
public class AuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(AuthApplication.class);
        System.out.println("启动成功，Sa-Token 配置如下：" + SaManager.getConfig());
    }

}
